/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

/**
 *
 * @author CANHNGUYEN
 */
public class BeerExpert {

    private String beerColor = "";
    private String beerName = "";

    public BeerExpert() {
    }

    public String getBeerColor() {
        return beerColor;
    }

    public void setBeerColor(String beerColor) {
        this.beerColor = beerColor;
    }

    public String getBeerName() {
        return beerName;
    }

    public void setBeerName(String beerName) {
        this.beerName = beerName;
    }

    public String chooseBeer(String beerColor) {
        this.beerColor = beerColor;
        if (this.beerColor.equals("Xanh")) {
            this.beerName = "Thai Binh Beer";
        }
        else if (this.beerColor.equals("Do")){
            this.beerName = "Ha Noi Beer";
        }else if (this.beerColor.equals("Vang")){
            this.beerName = "Hai Ha Beer";
        }
        return this.beerName;
    }
}
